package
{
	import com.gk.util.GameSprite;
	import com.gk.util.component.LabelButton;
	import com.gk.util.component.NumericStepper;
	import com.gk.util.component.Window;
	import com.gk.util.component.pageupdown.PageUpDown;

	[SWF(width="760",height="600",backgroundColor="0xbbbbbb")]
	public class Test extends GameSprite
	{
		public function Test()
		{
			var up:LabelButton = new LabelButton(this,100,200,"上页");
			var allUp:LabelButton = new LabelButton(this,100,250,"首页");
			var allDown:LabelButton = new LabelButton(this,300,250,"尾页");
			var down:LabelButton = new LabelButton(this,300,200,"下页");
			
			new PageUpDown(up,down,change,1,10).setAllUpDwonBtn(allUp,allDown);;
			
			new NumericStepper(this,100,300);
			
		}
		
		private function change(page:int):void
		{
			// TODO Auto Generated method stub
			trace(page);
		}
	}
}